package cn.myframe.entity.sys;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
/**
 * 权限和运营商关联表
 * 
 * @author ynz
 * @email ynz@myframe.cn
 * @date 2018-08-24 14:05:39
 */
@TableName("SYS_ROLE_COMPANY")
public class SysRoleCompanyEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//主键	
	@TableId("ID")
	private Long id;	
	//角色id	
	@TableField("ROLE_ID")
	private Long roleId;	
	//运营商Id	
	@TableField("COMPANY_NO")
	private Long companyNo;	

	/**
	 * 设置：主键
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：主键
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：角色id
	 */
	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}
	/**
	 * 获取：角色id
	 */
	public Long getRoleId() {
		return roleId;
	}
	/**
	 * 设置：运营商Id
	 */
	public void setCompanyNo(Long companyNo) {
		this.companyNo = companyNo;
	}
	/**
	 * 获取：运营商Id
	 */
	public Long getCompanyNo() {
		return companyNo;
	}
}
